﻿@model IEnumerable<asMeishi.web.Models.tagLibrary>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<table>
    <tr>
        <th></th>
        <th>
            tag
        </th>
        <th>
            datetime
        </th>
        <th>
            userID
        </th>
        <th>
            num
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.ActionLink("Detail", "Detail", new { id = item.Id }) |
            @Html.ActionLink("Delete", "Delete", new { id = item.Id })
        </td>
        <td>
            @item.tag
        </td>
        <td>
            @String.Format("{0:g}", item.datetime)
        </td>
        <td>
            @item.userID
        </td>
        <td>
            @item.num
        </td>
    </tr>
}

</table>

